package com.openess.bigsearch.engine.utils;

import com.openess.bigsearch.engine.BTree.util.CCollection;

public interface QQueue<E> extends CCollection<E> {
	/**
	 * 判断是否为空队列
	 * 
	 * @return
	 */
	boolean isEmpty();

	/**
	 * 入队操作
	 * 
	 * @param element
	 * @return
	 */
	boolean enqueue(E element);

	/**
	 * 出队操作
	 * 
	 * @return
	 */
	E dequeue();
}
